<html><head><title>ExamineJoystick</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ExamineJoystick()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>ExamineJoystick</b></font>(#Joystick)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Updates the current joystick state. It needs to be called before using the following functions: 
<a href="joystickbutton.html">JoystickButton()</a>, <a href="joystickaxisx.html">JoystickAxisX()</a>, <a href="joystickaxisy.html">JoystickAxisY()</a> and <a href="joystickaxisz.html">JoystickAxisZ()</a>. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Joystick</i></td>
<td width="90%"> 
The joystick to use. The first joystick index is 0. The number of available joysticks is returned by <a href="initjoystick.html">InitJoystick()</a>. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns nonzero if the joystick state has been correctly updated, returns zero otherwise. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="joystickbutton.html">JoystickButton()</a>, <a href="joystickaxisx.html">JoystickAxisX()</a>, <a href="joystickaxisy.html">JoystickAxisY()</a>, <a href="joystickaxisz.html">JoystickAxisZ()</a>. 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><a href=index.html>Joystick Index</a> - <a href=initjoystick.html>InitJoystick()</a> ->

</body></html>